package com.sim.core.banner;

import com.sim.core.ImConst;
import com.sim.core.ImVersion;

import java.io.PrintStream;

/**
 * @author God
 * @Desc
 * @date 2020-05-02 01:12
 */
public class SimBanner implements Banner, ImConst {

    private static final String BANNER =
                "   _____            (_)___ ___ \n" +
                "  / ___/  ______   / / __ `__ \\\n" +
                " (__  )  /_____/  / / / / / / /\n" +
                "/____/           /_/_/ /_/ /_/ ";


    private static final String SIM = " :: "+ImConst.SIM +" :: ";

    @Override
    public void printBanner(PrintStream printStream) {
        printStream.println(BANNER);
        String version  = " (" + ImVersion.version + ")";
        printStream.println(SIM +version+"\n");
    }

}
